unit Thrad_CallEnvr;

interface

uses
  Classes,Class_KzThrad;

type
  TThradCallEnvr = class(TKzThrad)
  private
  public
    vPostion:Integer;
  protected
    procedure Execute; override;
  end;

implementation

{ Important: Methods and properties of objects in visual components can only be
  used in a method called using Synchronize, for example,

      Synchronize(UpdateCaption);

  and UpdateCaption could look like,

    procedure TThradCallEnvr.UpdateCaption;
    begin
      Form1.Caption := 'Updated in a thread';
    end; }

{ TThradCallEnvr }

procedure TThradCallEnvr.Execute;
begin
  GetMsgProgress('CALL',[vPostion]);
end;

end.
